package com.printeverywhere.dto;

import java.util.Date;

import com.printeverywhere.util.DateUtil;

/**
 * UserFavoritesUsers entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class UserFavoritesUsers implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Integer sort;
	private String note;
	private User userIdFav;
	private Date date = DateUtil.getTodaysDate();

	// Constructors

	/**
	 * @param id
	 */
	public UserFavoritesUsers(Integer id) {
		super();
		this.id = id;
	}

	/** default constructor */
	public UserFavoritesUsers() {
	}

	/** full constructor */
	public UserFavoritesUsers(User user, Integer sort, String note, Date date) {
		this.user = user;
		this.sort = sort;
		this.note = note;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the userIdFav
	 */
	public User getUserIdFav() {
		return userIdFav;
	}

	/**
	 * @param userIdFav the userIdFav to set
	 */
	public void setUserIdFav(User userIdFav) {
		this.userIdFav = userIdFav;
	}

}